package top.songxs.gmall.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import top.songxs.gmall.order.dto.OrderSubmitDTO;
import top.songxs.gmall.order.entity.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 86176
* @description 针对表【order_info(订单表 订单表)】的数据库操作Service
* @createDate 2023-06-04 15:31:31
*/
public interface OrderInfoService extends IService<OrderInfo> {

    String orderSubmit(OrderSubmitDTO orderSubmitDTO, String tradeNo);

     void closeOrder(Long orderId, Long userId) ;

    Page<OrderInfo> pageOrderList(Long page, Long limit);
}
